home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac-Source 1994 July
/
Mac-Source_July_1994.iso
/
Other Langs
/
MacPerl ƒ
/
Perl Source ƒ
/
Perl
/
SubLaunch.a
< prev
next >
Wrap
Text File
|
1993-10-23
|
967b
|
44 lines
**********************************************************************
* Project : SubLaunch - Call ToolServer
* File : SubLaunch.a - WrappedLaunchApplication
* Author : Matthias Neeracher
* Started : 03Jan92 Language : MPW Assembler
* Modified : 03Jan92 MN
* Last : 03Jan92
*
* Copyright (c) 1992 Matthias Neeracher
*
* You may distribute under the terms of the Perl Artistic License,
* as specified in the README file.
*
*********************************************************************
CASE ON
INCLUDE 'Traps.a'
IMPORT RUNTIME
WRAPPEDLAUNCHAPPLICATION PROC EXPORT
LINK A6, #0
MOVE.W #22, -(A7)
SUBQ.L #2, A7
PEA 2(A7)
JSR RUNTIME
MOVE.L 8(A6), A0
_Launch
MOVE.W D0, 12(A6)
MOVE.W #23, -(A7)
SUBQ.L #2, A7
PEA 2(A7)
JSR RUNTIME
UNLK A6
MOVE.L (A7)+, A0
ADDQ.L #4, A7
JMP (A0)
ENDP
END